package com.ch.domain;

/**
 * @author chenhong
 * @version 1.0.0
 * @ClassName Person.java
 * @Description TODO
 * @createTime 2020年12月21日 21:05:00
 */
public class Person {
    protected String name;
    protected Character sex;
    public Person(String name, Character sex) {
        this.name = name;
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Person() {
    }

    public Character getSex() {
        return sex;
    }

    public void setSex(Character sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", sex=" + sex +
                '}';
    }
}
